<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        .fa{
            border: 5px solid black;
            background-color: #cccccc;

            display: flex;
            height: 200px;

            /* 垂直对齐 */
            /* 拉伸，和父容器高度一样 */
            /* align-items: stretch; */
            /* 垂直居中 */
            /* align-items: center; */
            /* 黑羊 */
            /* 顶对齐 */
            /* align-items: flex-start;
            align-items: flex-end; */
        }
        .c1{
            background-color: red;
            color: white;
            height: 80px;
        }
        .c2{
            background-color: blue;
            color: white;

            height: 100px;
        }
        .c3{
            background-color: green;
            color: white;
        }
    </style>
    <div class="fa">
        <div class="c1">马超</div>
        <div class="c2">张飞</div>
        <div class="c3">彦彦</div>
    </div>
</body>
</html>